<?php
include "../../inc/inc.koneksi.php";
$table	= 'siswa';
$id		= $_POST['id'];
$input = "DELETE FROM $table WHERE noinduk= '$id'";

mysql_query($input);

// hapus di wali
mysql_query("DELETE FROM `wali` WHERE noinduk = '$id'");

// hapus di pembayaran
mysql_query("DELETE FROM `pembayaran` WHERE noinduk = '$id'");

echo 'Data berhasil dihapus';

?>